//=============================================================================
// FireChuckerAttachment
//=============================================================================
class FireChuckerAttachment extends xWeaponAttachment;

var() class<emitter> PilotLightClass;
var emitter PilotLight;

simulated event ThirdPersonEffects()
{
        if(Level.NetMode != NM_DedicatedServer && PilotLight == None)
	{
		PilotLight = spawn(PilotLightClass);
		AttachToBone(PilotLight, 'tip');
		PilotLight.SetRelativeLocation(vect(1, 3, 0));
	}

	Super.ThirdPersonEffects();
}

simulated function Destroyed()
{
	if(PilotLight != None)
		PilotLight.Destroy();

	Super.Destroyed();
}

defaultproperties
{
     PilotLightClass=Class'taskforces.PilotLight'
     bHeavy=True
     bRapidFire=True
     Mesh=SkeletalMesh'TFSentinelA.FireChucker1st'
     RelativeRotation=(Pitch=32768)
     DrawScale=0.800000
}
